﻿<?xml version="1.0" encoding="utf-8"?>
<Package>
  <!--流程参与者集合节点-->
  <Participants>
    <!--流程参与者节点，属性type：role or user id：GUID角色用户唯一标识 outerId：角色用户在业务系统中的标识 -->
    <Participant type="Role" id="7074cac2-fd9b-4b25-aa1a-dbf436c45239" name="人事经理" code="UserHR" outerId="3"/>
    <Participant type="Role" id="19e1f15c-b4a0-42d6-8f41-5cf3dfcd4a69" name="项目经理" code="UserPM" outerId="2"/>
    <Participant type="Role" id="6a40230c-a46b-438f-a40c-4c14915846bc" name="员工" code="User" outerId="1"/>
  </Participants>
  <!--流程定义头节点-->


  <WorkflowProcess>
    <!--流程节点-->a
    <Process name="请假条申请流程" id="8593aa9c-1c0c-45d0-8ad2-e025a1c74fa6">


      <!--流程描述信息-->
      <Description>开始--员工提交--项目经理签字--人事经理签字--员工确认--结束</Description>


      <!--流程节点的集合-->
      <Activities>
        <Activity name="开始" id="99d407e8-ad21-46b9-aa4f-ad3e0968f954">
          <ActivityType type="StartNode"/>
          <Location Left="123" Top="57" Width="50" Height="50" />
        </Activity>


        <Activity name="工程师提交" id="4a916298-d514-41e0-8a48-a6bcc33d32b9">
          <ActivityType type="TaskNode" />
          <Location Left="90" Top="205" Width="120" Height="50" />
          <!--活动参与者的集合节点-->
          <Performers>
            <Performer id="6a40230c-a46b-438f-a40c-4c14915846bc" />
          </Performers>
        </Activity>

        <Activity name="项目经理签字" id="48bf310f-9dab-403a-9107-2d6d7d0060c9">
          <ActivityType type="TaskNode" />
          <Location Left="90" Top="205" Width="120" Height="50" />
          <Performers>
            <Performer id="19e1f15c-b4a0-42d6-8f41-5cf3dfcd4a69" />
          </Performers>
        </Activity>


        <Activity name="人事经理签字" id="f907e746-a7e0-4aef-a4ad-8ec70017fda2">
          <ActivityType type="TaskNode" />
          <Location Left="90" Top="205" Width="120" Height="50" />
          <Performers>
            <Performer id="7074cac2-fd9b-4b25-aa1a-dbf436c45239" />
          </Performers>
        </Activity>

        <Activity name="员工确认" id="a5ec3397-df5e-41bd-9b21-ac476effb5da">
          <ActivityType type="TaskNode" />
          <Location Left="90" Top="205" Width="120" Height="50" />
          <Performers>
            <Performer id="6a40230c-a46b-438f-a40c-4c14915846bc" />
          </Performers>
        </Activity>


        <Activity name="结束" id="b92b275f-f646-43b2-bfdd-f7904a186460">
          <ActivityType type="EndNode"/>
          <Location Left="177" Top="530" Width="50" Height="50" />
          <Performers>
            <Performer id="6a40230c-a46b-438f-a40c-4c14915846bc" />
          </Performers>
        </Activity>

      </Activities>


      <!--转移节点集合-->
      <Transitions>
        <Transition name="T1" id="b46572bc-c066-4156-9a99-743959408cb3" from="99d407e8-ad21-46b9-aa4f-ad3e0968f954" to="4a916298-d514-41e0-8a48-a6bcc33d32b9" direction="Forward">
          <Location FromPoint="bottomMiddleHotPoint" ToPoint="topMiddleHotPoint" />
          <Description />
          <Conditions />
        </Transition>
        <Transition name="T2" id="43e600cd-b0e5-4c3a-a0ef-8e0a1c1e6b9a" from="4a916298-d514-41e0-8a48-a6bcc33d32b9" to="48bf310f-9dab-403a-9107-2d6d7d0060c9" direction="Forward">
          <Location FromPoint="bottomMiddleHotPoint" ToPoint="topMiddleHotPoint" />
          <Description />
          <Conditions />
        </Transition>
        <Transition name="T3" id="75e24346-9367-48bd-9c1e-f93c44bb0d70" from="48bf310f-9dab-403a-9107-2d6d7d0060c9" to="f907e746-a7e0-4aef-a4ad-8ec70017fda2" direction="Forward">
          <Location FromPoint="bottomMiddleHotPoint" ToPoint="topMiddleHotPoint" />
          <Description />
          <Conditions />
        </Transition>
        <Transition name="T4" id="0ec73319-d845-40f0-9f1d-00fd36920f60" from="f907e746-a7e0-4aef-a4ad-8ec70017fda2" to="a5ec3397-df5e-41bd-9b21-ac476effb5da" direction="Forward">
          <Location FromPoint="bottomMiddleHotPoint" ToPoint="topMiddleHotPoint" />
          <Description />
          <Conditions />
        </Transition>
        <!--结束  -->
        <Transition name="T5" id="3ae5265c-291f-492e-bd6a-68432ac6ca59" from="a5ec3397-df5e-41bd-9b21-ac476effb5da" to="b92b275f-f646-43b2-bfdd-f7904a186460" direction="Forward">
          <Location FromPoint="bottomMiddleHotPoint" ToPoint="topMiddleHotPoint" />
          <Description />
          <Conditions />
        </Transition>
        <!--结束  -->
        <!--
      <Transition name="T6" id="40b687b3-80e5-4cae-8fb9-79323e42d930" from="a5ec3397-df5e-41bd-9b21-ac476effb5da" to="b92b275f-f646-43b2-bfdd-f7904a186460" direction="Forward">
          <Location FromPoint="bottomMiddleHotPoint" ToPoint="topMiddleHotPoint" />
          <Description />
          <Conditions />
        </Transition>
      -->

      </Transitions>

    </Process>
  </WorkflowProcess>

</Package>